package com.heima.apis.articl;

import com.heima.model.article.pojo.ApArticleDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@FeignClient("leadnews-article")
public interface IArticlClient {
    @PostMapping("/api/v1/article/save")
    public ResponseResult save( @RequestBody ApArticleDto dto);
}
